Re: [GENERAL] datetime problems

Поиск
Список
Период
Сортировка
От Herouth Maoz
Тема Re: [GENERAL] datetime problems
Дата
Msg-id l03110704b2538d2ce9e2@[147.233.159.109]
обсуждение исходный текст
Ответ на datetime problems  (Memphisto <szoli@valerie.inf.elte.hu>)
Список pgsql-general
At 13:50 +0200 on 21/10/98, Memphisto wrote:


> I'd like to issue a query that lists all the rows of a table whose 'date'
> columns(its type is datetime) is falls in a month, i.e. these rows were
> inserted in , say August. How can I do that?

SELECT *
FROM the_table
WHERE the_date BETWEEN '1998-08-01' AND '1998-08-31';



Herouth

--
Herouth Maoz, Internet developer.
Open University of Israel - Telem project
http://telem.openu.ac.il/~herutma



В списке pgsql-general по дате отправления:

Предыдущее
От: Memphisto
Дата:
Сообщение: That bug I mention in my prev. letter
Следующее
От: Herouth Maoz
Дата:
Сообщение: Re: [GENERAL] datetime problems